﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace Common
{
    public abstract class Actor : IActor
    {
        private string m_Name = string.Empty;
        private IList<IStat> m_Stats = new List<IStat>();
        private IList<IAction> m_Uses = new List<IAction>();

        public string Name
        {
            get
            {
                return m_Name;
            }
            protected set
            {
                m_Name = value;
            }
        }

        public IList<IAction> Uses
        {
            get
            {
                return m_Uses.ToList<IAction>();
            }
            protected set
            {
                m_Uses = value.ToList<IAction>();
            }
        }

        public IList<IStat> Stats
        {
            get
            {
                return m_Stats.ToList<IStat>();
            }
            protected set
            {
                m_Stats = value.ToList<IStat>();
            }
        }
    }
}
